package com.android.clinic.app.ui.doctor;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.android.clinic.app.R;
import com.android.clinic.app.base.BaseActivity;

/**
 * Created by cheng on 2018/2/9.
 * 咨询页面
 */
public class ConsultDoctorActivity extends BaseActivity {

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_consult_doctor;
    }

    @Override
    protected void initView(@Nullable Bundle savedInstanceState) {
        setTitleBarTitle("xx医生");
        setTitleBarLeftResource(R.drawable.icon_back);
    }

    @Override
    protected void widgetClick(View v) {
        super.widgetClick(v);
        switch (v.getId()) {
            // 去评价
            case R.id.tv_comment:
                startActivity(new Intent(this, EvaluationDoctorActivity.class));
                break;
            // 诊后咨询
            case R.id.btn_consult:

                break;
            // 图文复诊
            case R.id.btn_graphic_review:

                break;
        }
    }
}
